]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Hide when failing to take grab at end of startup animation
authorSebastian Keller <skeller@gnome.org>
Wed, 1 Mar 2023 20:48:45 +0000 (21:48 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 2 Mar 2023 00:08:09 +0000 (00:08 +0000)
Otherwise keyboard input would be going to whatever window was
preventing us from taking the grab while it is obscured by the overview.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2667>

js/ui/overview.js

index 22bd4c4f5a5e3608de77301cd086208bcd46e663..c2c2e5326b0896c03441e75d0534ef84ea23794b 100644 (file)
@@ -691,6 +691,7 @@ var Overview = class extends Signals.EventEmitter {
 
             if (!this._syncGrab()) {
                 callback();
+                this.hide();
                 return;
             }